import React from 'react'

export function createApp() {
    function App() {
        const [count, setCount] = React.useState(1)
        return /*#__PURE__*/ React.createElement(
            React.Fragment,
            null,
            /*#__PURE__*/ React.createElement(
                'button',
                {
                    onClick: () => setCount(count + 1),
                },
                count
            )
        )
    }

    return React.createElement(App, null)
}
